{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<body>
<div class="sub-body">
<div class="tab_info" style="width:898px">
<div class="tab-title-1"><span>{$lang.style_manage}</span></div>
<table width="100%" cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1">
	<tr>
		<td colspan="4" align="right" style="padding-right:50px;"><a href="{url index.php?app=style&act=add}" class="add btn-2">{$lang.add_new_style}</a></td>
	</tr>
      <tr>
        <th width="30%">{$lang.style_name}</th>
        <th width="35%">{$lang.description}</th>
		<th width="15%">{$lang.if_show}</th>
		<th width="20%">{$lang.handle}</th>
      </tr>
	  <!--{foreach from=$styles item=style}-->
       <tr>
        <td>{$style.style_name|escape}</td>
        <td>{$style.description|escape}</td>
        <td><!--{if $style.if_show}-->{$lang.yes}<!--{else}-->{$lang.no}<!--{/if}--></td>
		<td>
		<a href="{url app=style&act=edit&sid=$style.style_id}">{$lang.edit}</a>
		/
		<a href="{url app=style&act=edit_size&sid=$style.style_id}">{$lang.edit_size}</a> / <a href="javascript:if(confirm('确认删除此款式吗?')==true){location.href='{url app=style&act=del&sid=$style.style_id}';};" >删除</a>
		</td>
      </tr>
	  <!--{/foreach}-->
    </table>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div></div>
</body>
</html>